<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<!--
*************************************************************************
* The contents of this file are subject to the Openbravo  Public  License
* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
* Version 1.1  with a permitted attribution clause; you may not  use this
* file except in compliance with the License. You  may  obtain  a copy of
* the License at http://www.openbravo.com/legal/license.html
* Software distributed under the License  is  distributed  on  an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific  language  governing  rights  and  limitations
* under the License.
* The Original Code is Openbravo ERP.
* The Initial Developer of the Original Code is Openbravo SLU
* All portions are Copyright (C) 2011 Openbravo SLU
* All Rights Reserved.
* Contributor(s):  ______________________________________.
************************************************************************
-->
<html>
<head>
<meta http-equiv="Expires" content="Tue, 24 Apr 1979 00:00:01 GMT">
<meta http-equiv="Content-type" content="text/html;charset=utf-8">
<title>Openbravo - Client Benchmark</title>
<!-- Using benchmark.js v0.1.343 -->
<script type="text/javascript" src="js/benchmark.js"></script>
<script type="text/javascript" src="../js/LAB.min.js"></script>
<script type="text/javascript">

$LAB.setGlobalDefaults({AppendTo: 'body'});
var isomorphicDir='../../org.openbravo.userinterface.smartclient/isomorphic/';

function OBStartApplication() {
  var s = document.getElementById('summary'),
      suite = new Benchmark.Suite,
      summary = '';
  
  s.innerHTML = 'Executing...';
  
  suite.add('Window.create', function() {
    isc.Window.create({title: 'Test Window'});
  })
  .on('cycle', function(bench) {
    summary += String(bench) + '<br />';
    summary += 'Elapsed time: ' + bench.times.elapsed + '<br />';
  })
  .on('complete', function() {    
    summary += 'Client platform: ' + String(Benchmark.platform) + '<br />';
    s.innerHTML = summary;
  })
  .run(true);
}
</script>
</head>
<body>
<p id="summary">Loading...</p>
<script type="text/javascript" src="../../org.openbravo.userinterface.smartclient/isomorphic/ISC_Combined.js"></script>
<script type="text/javascript" src="../../org.openbravo.userinterface.smartclient/isomorphic/ISC_History.js"></script>
<script type="text/javascript" src="../../../org.openbravo.client.kernel/OBCLKER_Kernel/StaticResources?_mode=3.00&_skinVersion=Default"></script>
<iframe name="background_target" id="background_target" height="0" width="0" style="display:none;"></iframe>
<form name="OBGlobalHiddenForm" method="post" action="blank.html" target="background_target"></form>
</body>
</html>